$OpenBSD: patch-src_gui_main_cpp,v 1.2 2013/06/07 10:03:27 benoit Exp $
--- src/gui/main.cpp.orig	Tue Jun  4 09:42:47 2013
+++ src/gui/main.cpp	Fri Jun  7 11:01:28 2013
@@ -29,6 +29,9 @@
  *   
  *   
 */
+#ifdef QT_GUI_LIB
+#include <cstdlib>
+#endif
 #include <config.h>
 #include <stdlib.h>
 #include <stdio.h>
